package com.cn.wanxi.service.impl;

import com.cn.wanxi.dao.ClothingTypeDao;
import com.cn.wanxi.dao.CuisineDao;
import com.cn.wanxi.dao.impl.ClothingTypeImpl;
import com.cn.wanxi.dao.impl.CuisineImpl;
import com.cn.wanxi.model.ClothingTypeModel;
import com.cn.wanxi.model.CuisineModel;
import com.cn.wanxi.model.ResultModel;
import com.cn.wanxi.service.ClothingTypeService;

import java.util.List;

public class ClothingTypeServiceImpl implements ClothingTypeService {
    @Override
    public ResultModel findAll(ClothingTypeModel clothingTypeModel) {
        ResultModel resultModel = new ResultModel();
        ClothingTypeDao clothingTypeDao = new ClothingTypeImpl();
        List<ClothingTypeModel> list = clothingTypeDao.findAll(clothingTypeModel);
        resultModel.setData(list);
        return resultModel;
    }

    @Override
    public ResultModel add(ClothingTypeModel clothingTypeModel) {
        return null;
    }

    @Override
    public ResultModel findById(ClothingTypeModel clothingTypeModel) {
        return null;
    }

    @Override
    public ResultModel update(ClothingTypeModel clothingTypeModel) {
        return null;
    }

    @Override
    public ResultModel delete(ClothingTypeModel clothingTypeModel) {
        return null;
    }

    @Override
    public ResultModel getCount(ClothingTypeModel clothingTypeModel) {
        return null;
    }
}
